<div class="search"><!--start search-->
    <div class="search_1"><img src="<?php echo Url::client_assets() ?>/images/tim.jpg" width="30" height="30" border="0"></div>
    <div class="search_2" align="left">Tìm kiếm năng cao</div>
    <div class="search_3"><!--start search_3-->
        <form method="post" action="<?php echo Route::url('client-land-list',array('action' => 'search')) ?>">
            <table id="search" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <span>Địa điểm:</span><br/>
                        <select name="location" style="color:#000099; width:90px; height:20px; font-size:12px;">
                            <option value="">Bất kỳ</option>
                            <?php foreach(Libs_Land::getInstance()->get_location() as $l): ?>
                            <option value="<?php echo $l->id; ?>"><?php echo $l->name; ?></option>
                            <?php endforeach; ?>
                        </select>
                    </td>
                    <td>
                        <span>Giao dịch</span><br/>
                        <select name="transaction_type" style="color:#000099; width:90px; height:20px; font-size:12px;">
                            <option value="">Bất kỳ</option>
                            <option value="rent">Cho thuê</option>
                            <option value="lease">Cần mua</option>
                            <option value="sold">Cần bán</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>Giá từ</span><br/>
                        <input style="width:90px; height:15px; font-size:12px;" name="from_price"/>
                    </td>
                    <td>
                        <span>Đến</span><br/>
                        <input style="width:90px; height:15px; font-size:12px;" name="to_price"/>
                    </td>
                </tr>
                <tr>
                    <td>
                         <span>Diện tích</span><br/>
                         <select name="operator" style="width: 40px">
                             <option value=">=">>=</option>
                             <option value="<="><=</option>
                             <option value="=">=</option>
                         </select>
                         <input style="width:50px; height:15px; font-size:14px;" name="area"/>
                    </td>
                    <td>
                        <span>Hướng</span>
                        <select name="direction" style="color:#000099; width:90px; height:20px; font-size:12px;">
                            <option value="">Bất kỳ</option>
                            <?php foreach(Direction::get_direction() as $key => $item): ?>
                            <option value="<?php echo $key; ?>"><?php echo $item; ?></option>
                            <?php endforeach; ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>Loại BĐS</span>
                        <select name="land_type" style="color:#000099; width:90px; height:20px; font-size:12px;">
                            <?php foreach(Libs_Land::getInstance()->get_land_type() as $type): ?>
                            <option value="<?php echo $type['id']; ?>"><?php echo $type['name']; ?></option>
                            <?php endforeach; ?>
                        </select>
                    </td>
                    <td><input style="margin-top: 10px" class="submit" type="submit" value="" name="btnNewsLetterSubmit"></td>
                </tr>
            </table>
        </form>
    </div><!--end search_3-->
</div>